package com.ruoyi.workbench.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.annotation.Excels;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.domain.entity.SysDept;
import lombok.Getter;
import lombok.Setter;

/**
 * @author hanjiafeng
 * @date 2021/3/7 13:46
 * @desc todo
 */
public class WbWholeUnitNew extends BaseEntity {
    @Getter
    @Setter
    @Excels({
            @Excel(name = "三级单元", targetAttr = "deptName", type = Excel.Type.EXPORT),
    })
    private SysDept unit3;
    @Getter
    @Setter
    @Excels({
            @Excel(name = "营业部名称", targetAttr = "deptName", type = Excel.Type.EXPORT),
    })
    private SysDept unit4;
    @Getter
    @Setter
    @Excels({
            @Excel(name = "包区名称", targetAttr = "deptName", type = Excel.Type.EXPORT),
    })
    private SysDept unit5;

    @Getter
    @Setter
    @Excels({
            @Excel(name = "社区/行政村", targetAttr = "name", type = Excel.Type.EXPORT),
    })
    private WbPhysicalUnit unit6;
    @Getter
    @Setter
    @Excels({
            @Excel(name = "小区/街道/自然庄", targetAttr = "name", type = Excel.Type.EXPORT),
    })
    private WbPhysicalUnit unit7;
    @Getter
    @Setter
    @Excels({
            @Excel(name = "楼栋", targetAttr = "name", type = Excel.Type.EXPORT),
    })
    private WbPhysicalUnit unit8;
    @Getter
    @Setter
    @Excels({
            @Excel(name = "单元", targetAttr = "name", type = Excel.Type.EXPORT),
    })
    private WbPhysicalUnit unit9;
}
